package com.jr.mapper;

import com.jr.pojo.Emp;
import org.apache.ibatis.annotations.Select;

import java.util.ArrayList;

public interface EmpMapper {
    @Select("select * from emp where empno=#{empno} and ename=#{ename}")
    Emp selectEmp(Emp emp);

    ArrayList<Emp> selectEmps(Emp emp);

}
